<?php
#+------------------------------------------------------------------
#| 普通的。
#+------------------------------------------------------------------
#| Author:Janmas Cromwell <janmas-cromwell@outlook.com>
#+------------------------------------------------------------------

return [
    'mysql' => [
        'extend'   => \think\facade\Env::get('entry.extend', true),//是否继承databse配置文件的配置
        'host'     => \think\facade\Env::get('entry.host', '127.0.0.1'),
        'port'     => \think\facade\Env::get('entry.port', 3600),
        'database' => \think\facade\Env::get('entry.database', ''),
        'model'    => \app\model\User::class
    ],
    'json'  => [
        'file' => ''
    ],
    'redis' => [
        'extend'  => env('entry.extend', true),
        'host'    => env('redis.host', 'redis'),
        'port'    => env('redis.port', 6379),
        'index'   => env('redis.select', 0),
        'timeout' => env('redis.timeout', 5),
        'auth'    => env('redis.auth', ''),
    ]
];
